<?php
// +-------------------------------------------------------------------------------
// | DingZone [ A Rapid Development Framework For Dingtalk ]
// +-------------------------------------------------------------------------------
// | 全局入口 v1.0
// |
// | Copyright (c) 2014-2018 http://www.heimalanshi.com All rights reserved.
// | Author : Jie
// | Date : 2018-08-09
// +-------------------------------------------------------------------------------

// [ 应用入口文件 ]
if($_SERVER['REQUEST_URI'] == "/core" || $_SERVER['REQUEST_URI'] == "/core.php" || strpos($_SERVER['REQUEST_URI'],"/core/") === 0 || strpos($_SERVER['REQUEST_URI'],"/core.php") === 0) {
	include __DIR__ . '/core.php'; 
} else {
	include __DIR__ . '/addons.php'; 
}

